package cn.xinfei.xdecision.common.utils.constant;

/**
 * 公共变量约定
 */
public class Constants {
    // token名称
    public static final String SYSTEM_KEY_TOKEN = "token";
//    public static final String BIZ_ID = "bizId";
    public static final String REQUEST_ID = "requestId";
    public static final String SCENE = "scene";
    public static final String TP_CODE = "tpCode";//调用方服务名
    public static final String SIGN = "sign";//sign
    public static final String BIZ_ENC = "bizEnc";//bizEnc
    // token时间 单位秒
    public static final Long LOGIN_TOKEN_TIME = 7200L;
    // token最大剩余时间，需刷新 单位秒
    public static final Long LOGIN_TOKEN_REFRESH_TIME = 600L;

    // 规则集节点相关常量
    public interface ruleNode {
        // 互斥组
        int MUTEXGROUP = 1;
        // 执行组
        int EXECUTEGROUP = 2;
    }


    public interface fieldName {
        // 字段英文名
        String fieldEn = "field_en";
        //字段中文名
        String fieldCn = "field_cn";
    }


}